package com.cckj.common.module.sysPermission.entity;

import com.cckj.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author jq
 * @since 2020-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
// @ApiModel(value="SysPermission对象", description="权限")
public class SysPermission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    // @ApiModelProperty(value = "所属上级")
    private Long pid;

    // @ApiModelProperty(value = "名称")
    private String name;

    // @ApiModelProperty(value = "类型(1:菜单,2:按钮)")
    private Integer type;

    // @ApiModelProperty(value = "权限值")
    private String permissionValue;

    // @ApiModelProperty(value = "访问路径")
    private String path;

    // @ApiModelProperty(value = "组件路径")
    private String component;

    // @ApiModelProperty(value = "图标")
    private String icon;

    // @ApiModelProperty(value = "状态(0:禁止,1:正常)")
    private Integer status;


}
